GetMessageDlgCheckBoxState
State = GetMessageDlgCheckBoxState()
 
Parameters: NONE
Returns:

    State=the state of the checkbox
 

     Use GetMessageDlgCheckBoxState to find out whether the user has checked the checkbox in a MessageDlg or not.




  
; Inlcude the Dialogs library in this program
  #Include "PBDialogs2"
  
  MessageDlg("CheckBox test""Here could be your message.""And here too.""OK"0011)
  If GetMessageDlgCheckBoxState() = 1
     Print "The checkbox was checked"
  Else
     Print "The checkox wasn't checked"
  EndIf
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  




 
Related Info: MessageDlg | MessageDlgCheckBoxState :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com